package cn.stylefeng.qz.action.service.impl;

import cn.stylefeng.qz.action.mapper.ContentMapper;
import cn.stylefeng.qz.action.service.ContentService;
import cn.stylefeng.qz.business.bean.CategoryBean;
import cn.stylefeng.qz.business.bean.ContentBean;
import cn.stylefeng.qz.business.model.Content;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@Slf4j
public class ContentServiceImpl extends ServiceImpl<ContentMapper, Content> implements ContentService {


    @Autowired
    private ContentMapper contentMapper;

    @Override
    public List<CategoryBean> queryIdsByCategoryIdForParser(ContentBean contentBean) {
        return contentMapper.queryIdsByCategoryIdForParser(contentBean);

    }
}
